package com.meteor.service;

import com.meteor.entity.Community;
import com.meteor.entity.Complaint;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.CommunityQuery;
import com.meteor.query.ComplaintQuery;
import com.meteor.query.OrgAndCommunityQuery;
import com.meteor.vo.CommunityVO;
import com.meteor.vo.ComplaintVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */

public interface CommunityService extends BaseService<Community> {


    void save(CommunityVO communityVO);

    void update(CommunityVO communityVO);

    CommunityVO getCommunity(String id);

    List<CommunityVO> getCommunityVOList(CommunityQuery communityQuery);

    PageResult<CommunityVO> pageCommunityVO(CommunityQuery communityQuery);

    void delete(String id);

    List<CommunityVO> orgCommunity(OrgAndCommunityQuery query);

    List<CommunityVO> getList(CommunityQuery query);

    List<CommunityVO> getCommunityList(List<String> ids);

}
